package com.ys.peony.enums;

import android.util.SparseArray;

/**
 * 业务状态描述
 * Created by yml on 17/5/27.
 */

public class BusinessDetailStatus {

    private static SparseArray<String> array;

    static {
        array = new SparseArray<String>();
        array.put(0, "新增");
        array.put(1, "已提交(客户经理提交)");//
        array.put(2, "移除");
        array.put(3, "拒绝(风控驳回)");//
        array.put(4, "资料审核通过");
        array.put(5, "资料审核打回");
        array.put(6, "面审通过");
        array.put(7, "面审打回");
        array.put(8, "额度评定通过");
        array.put(9, "额度评定打回");
        array.put(10, "总部抽查通过");
        array.put(11, "总部抽查打回");
        array.put(12, "店长抽查通过");
        array.put(13, "店长抽查打回");
        array.put(14, "电审通过");
        array.put(15, "复审通过");
        array.put(16, "复审打回");
        array.put(17, "放款审核通过");
        array.put(18, "放款审核打回");
        array.put(19, "已放款");
        array.put(20, "正常结案");
        array.put(21, "提前还款结案");
        array.put(22, "展期待结案");
        array.put(23, "展期已结案");
        array.put(24, "坏账");
        array.put(25, "逾期待处理");
        array.put(26, "放款出纳");
        array.put(27, "提前还款待结案");
    }

    /**
     * 获取状态描述
     * @param status
     * @return
     */
    public static String getStatus(String status) {
        return array.get(Integer.parseInt(status), "");
    }
}
